package com.nj9you.wxpay.config;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.nj9you.wxpay.dao.Dao;

public class CustomServletContextListener implements ServletContextListener {

    @Override
    public void contextDestroyed(ServletContextEvent arg0) {
    }

    @Override
    public void contextInitialized(ServletContextEvent arg0) {
        Dao.init();
    }
}
